const router = {
  // 新窗口-发货方运单
  wayBillDetailWindow: {
    name: "wayBillDetailWindow",
    path: "/wayBillDetailWindow",
    meta: {
      title: "运单详情"
    },
    component: () => import("@/components/waybill/WayBillDetail")
  },
  // 新窗口-承运方运单
  carrierWayBillWindow: {
    name: "carrierWayBillWindow",
    path: "/carrierWayBillWindow",
    meta: {
      title: "运单详情"
    },
    component: () => import("@/components/waybill/WayBillDetail")
  },
  oneBillDetailWindow: {
    name: "oneBillDetailWindow",
    path: "/oneBillDetailWindow",
    meta: {
      title: "合单详情"
    },
    component: () => import("@views/myWaybill/oneBill/OneBillDetails.vue")
  },
  goodsMap: {
    name: "goodsMap",
    path: "/goodsMap",
    meta: {
      title: "跟踪信息"
    },
    component: () => import("@views/goodsTrack/GoodsMap.vue")
  },
  InstructionsForUse: {
    name: "instructionsForUse",
    path: "/instructionsForUse",
    meta: {
      title: "使用说明"
    },
    component: () => import("@/components/bread/InstructionsForUse.vue")
  },
  orderDetailsWindow: {
    name: "orderDetailsWindow",
    path: "/orderDetailsWindow",
    meta: {
      title: "订单详情"
    },
    component: () => import("@/components/order/OrderDetail")
  },
  // 创建合约报价
  // quotationWindow: {
  //   name: "quotationWindow",
  //   path: "/quotationWindow",
  //   meta: {
  //     title: "创建合约"
  //   },
  //   component: () => import("@views/quotation/Index.vue")
  // },
  // 合单报价
  oneBillQuoteWindow: {
    name: "oneBillQuoteWindow",
    path: "/oneBillQuoteWindow",
    meta: {
      title: "合单报价"
    },
    component: () => import("@views/quote/combine/index.vue")
  },
  // 合单费用
  combineQuoteFee: {
    name: "combineQuoteFee",
    path: "/combineQuoteFee",
    meta: {
      title: "合单报价"
    },
    component: () => import("@views/quote/combine/index.vue")
  },
  // 运单报价
  quoteDetailWindow: {
    name: "quoteDetailWindow",
    path: "/quoteDetailWindow",
    meta: {
      title: "运单报价"
    },
    component: () => import("@/views/quote/transport/QuoteDetail.vue")
  },
  // 运单运费明细
  quoteFreightDetail: {
    name: "quoteFreightDetail",
    path: "/quoteFreightDetail",
    meta: {
      title: "运单运费明细"
    },
    component: () => import("@/views/quote/transport/components/QuoteFreightDetail.vue")
  },
  // 合同预览
  contractPreviewWindow: {
    name: "contractPreviewWindow",
    path: "/contractPreviewWindow",
    meta: {
      title: "合同预览"
    },
    component: () => import("@views/contract/components/ContractPreview.vue")
  },
  // 发货方-付款单查询详情
  custometBillPaymentWindow: {
    name: "custometBillPaymentWindow",
    path: "/custometBillPaymentWindow",
    meta: {
      title: "对账单支付"
    },
    component: () => import("@views/finance/billPayment/Index.vue")
  },
  // 付款单查询详情
  billPaymentWindow: {
    name: "billPaymentWindow",
    path: "/billPaymentWindow",
    meta: {
      title: "对账单支付"
    },
    component: () => import("@views/finance/billPayment/Index.vue")
  },
  // 发货方对账单已关闭
  customerAccountStatementWindow: {
    name: "customerAccountStatementWindow",
    path: "/customerAccountStatementWindow",
    meta: {
      title: "对账单详情"
    },
    component: () => import("@views/finance/createAccountStatement/Index.vue")
  },
  // 对账单已关闭
  createAccountStatementWindow: {
    name: "createAccountStatementWindow",
    path: "/createAccountStatementWindow",
    meta: {
      title: "创建对账单"
    },
    component: () => import("@views/finance/createAccountStatement/Index.vue")
  },
  // 温湿度
  TemperatureHumidity: {
    name: "TemperatureHumidity",
    path: "/TemperatureHumidity",
    meta: {
      title: "温湿度"
    },
    component: () => import("@views/chart/TemperatureHumidity.vue")
  },
  // top定制报表kpi明细
  kpiDetails: {
    name: "kpiDetails",
    path: "/kpiDetails",
    meta: {
      title: "KPI明细"
    },
    component: () => import("@views/reportForms/detailed/KpiDetail")
  },
  // 顶通设备管理页面
  dtEquipmentDetails: {
    name: "dtEquipmentDetails",
    path: "/dtEquipmentDetails",
    meta: {
      title: "设备管理明细",
      keepAlive: true,
      isBack: false
    },
    component: () =>
      import("@views/equipment/dt/dtEquipmentDetails.vue")
  },
  // 顶通设备管理导入
  dtDeviceImport: {
    name: "dtDeviceImport",
    path: "/dtDeviceImport",
    meta: {
      title: "设备管理导入"
    },
    component: () => import("@views/equipment/dt/components/DtDeviceImport.vue")
  }
};

export default router;
